package com.town.garden.propertites;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Description
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/4/22
 */
@ConfigurationProperties(prefix = "town.garden.schedule")
@Data
public class ScheduleProperties {
    /**
     * 最小线程数
     */
    private Integer corePoolSize = 10;
    /**
     * 最大线程数
     */
    private Integer maxPoolSize = 500;
    /**
     * 允许空闲时间(秒)
     */
    private Long allowIdleTime = 300L;
}
